<?php

namespace app\common\model;

use app\common\basic\BaseModel;

class PurchaseOrder extends BaseModel
{
    protected $table = 'vk_purchase_order';

    public function detail() {
        return $this->hasMany(PurchaseOrderDetail::class, 'purchase_order_id', 'id');
    }
    
}